<template>
	<view class="orderCancelSuccess">
		<n-loading></n-loading>
		<!-- 取消成功 -->
		<view class="cSuccess">
			<view class="cSuccessTip">取消成功</view>
			<view class="backHome" @tap="anotherAne">再来一单</view>
		</view>
		<!-- 更多推荐 -->
<!-- 		<view class="moreRecommend">
			<u-divider color="#333333" half-width="40" border-color="#EB4B34" fontSize="32" bg-color="#F8F8FA">更多推荐</u-divider>

			<view class="shoppingList">
				<view class="shoppingEach">
					<image src="../../static/ceshi/img2.png"></image>
					<view class="iGoodsInfo">
						<view class="iGoodsName">五粮液500ml</view>
						<view class="payers">立即兑换</view>
						<view class="priceInfo">¥230 <text>￥240</text></view>
					</view>
				</view>
				<view class="shoppingEach">
					<image src="../../static/ceshi/img2.png"></image>
					<view class="iGoodsInfo">
						<view class="iGoodsName">五粮液500ml</view>
						<view class="payers">立即兑换</view>
						<view class="priceInfo">¥230 <text>￥240</text></view>
					</view>
				</view>
				<view class="shoppingEach">
					<image src="../../static/ceshi/img2.png"></image>
					<view class="iGoodsInfo">
						<view class="iGoodsName">五粮液500ml</view>
						<view class="payers">立即兑换</view>
						<view class="priceInfo">¥230 <text>￥240</text></view>
					</view>
				</view>
				<view class="shoppingEach">
					<image src="../../static/ceshi/img2.png"></image>
					<view class="iGoodsInfo">
						<view class="iGoodsName">五粮液500ml</view>
						<view class="payers">立即兑换</view>
						<view class="priceInfo">¥230 <text>￥240</text></view>
					</view>
				</view>
			</view>
		</view> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				goodsId:null,
				ownerId:null,
			}
		},
		onLoad: function (option) {
			this.goodsId = option.goodsId;
			this.ownerId = option.ownerId;
		},
		methods: {
			anotherAne() {
				uni.navigateTo({
					url: '../index/goodsInfo?id='+this.goodsId
				});
			}
			
		}
	}
</script>

<style lang="scss">
	.orderCancelSuccess{
		min-height: 100%;
		background-color: #F8F8FA;
	}
	.cSuccess{
		padding: 32rpx 0;
		background-color: #fff;
		text-align: center;
		
		.cSuccessTip{
			margin-bottom: 16rpx;
			font-size: 32rpx;
			line-height: 48rpx;
		}
		.backHome{
			display: inline-block;
			padding: 16rpx 40rpx;
			border: 2rpx solid #FF5238;
			border-radius: 30rpx;
			font-size: 24rpx;
			line-height: 28rpx;
			color: #FF5238;
		}
	}
	.moreRecommend{
		padding: 24rpx 32rpx;
		
		.title{
			position: relative;
			font-size: 32rpx;
			line-height: 48rpx;
			color: #333;
		}
		.shoppingList{
			display: flex;
			padding-top: 24rpx;
			align-items: center;
			flex-wrap: wrap;
			justify-content: space-between;
			flex-direction: row;
			
			.shoppingEach{
				margin-bottom: 16rpx;
				background-color: #FFFFFF;
				border-radius: 8rpx;
				overflow: hidden;
				
				image {
					display: block;
					width: 334rpx;
					height: 350rpx;
				}
				
				.iGoodsInfo{
					padding:8rpx 16rpx 12rpx;
					
					.iGoodsName{
						font-size: 24rpx;
						line-height: 40rpx;
					}
					.payers{
						margin-bottom: 18rpx;
						font-size: 24rpx;
						color: #666;
					}
					.priceInfo{
						font-weight: 600;
						font-size: 28rpx;
						line-height: 44rpx;
						color: #FF5238;
						
						text{
							font-size: 22rpx;
							color: rgba(0, 0, 0, 0.3);
							text-decoration:line-through;
						}
					}
				}
			}
		}
	}
</style>
